a nice math olympiad question

visit shbcf.ru